<table class="table table-bordered">
    <thead>
    <tr>
        <th>表名</th>
        <th>描述</th>
        <th>创建时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if list?exists>
        <#list list as item>
        <tr>
<<<<<<< HEAD
            <td>${item.name?if_exists}</td>
            <td>${item.comment?if_exists}</td>
            <td>${item.createTime?string('yyyy-MM-dd hh:mm:ss')}</td>
            <td>
                <a href="/generate/add/${item.name?if_exists}" data-toggle="modal" data-target="#modal">代码生成</a>
            </td>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<div class="row">
    <#include "/layout/page.html" />
</div>
=======
            <th>表名称</th>
            <th>表描述</th>
            <th>创建时间</th>
            <th>更新时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="m : ${list}">
            <td style="width: 20%;word-break:break-all;" th:text="${m.name}"/>
            <td style="width: 20%;word-break:break-all;" th:text="${m.comment}"/>
            <td style="width: 10%;word-break:break-all;"
                th:text="${#dates.format(m.createTime,'yyyy-MM-dd HH:mm:ss')}"/>
            <td style="width: 10%;word-break:break-all;"
                th:text="${#dates.format(m.updateTime,'yyyy-MM-dd HH:mm:ss')}"/>
            <td style="width: 10%;word-break:break-all;">
                <a class="btn btn-primary btn-xs" th:href="@{/generate/code(tableName=${m.name})}"><i class="fa fa-bug"></i>生成代码</a>
            </td>
        </tr>
        </tbody>
    </table>
    <!--<div class="row" th:include="layout:/page::page"></div>-->
</div>
</html>
>>>>>>> 2db2aca108a0a0719559279b3669f30a8f198499
